#ifndef CALLROLL_H
#define CALLROLL_H

#include <QDialog>
#include<QTimer>
#include<QFileDialog>
#include<QMessageBox>
#include<QMouseEvent>
#include<QTextStream>
#include<QRandomGenerator>
namespace Ui {
class CallRoll;
}

class CallRoll : public QDialog
{
    Q_OBJECT

public:

    explicit CallRoll(QWidget *parent = nullptr);
    ~CallRoll();
    bool eventFilter(QObject *obj,QEvent *event);
private:
    QString namesFile;
    QTimer tim;

    Ui::CallRoll *ui;
private:
    void getNamesFile();
private slots:
    void startCall();

};

#endif // CALLROLL_H
